﻿IF object_id(N'dbo.UDS_Bbs_Replay', 'U') IS NULL
BEGIN
    CREATE TABLE [dbo].[UDS_Bbs_Replay] (
        [replay_id]   int           NOT NULL identity(1, 1),
        [item_id]     int           NULL,
        [content]     nvarchar(max) COLLATE Chinese_PRC_CI_AS NULL,
        [replayer]    nvarchar(50)   COLLATE Chinese_PRC_CI_AS NULL,
        [replay_time] datetime      NULL,
        [replay_ip]   nvarchar(50)   COLLATE Chinese_PRC_CI_AS NULL,

        CONSTRAINT [PK_uds_bbs_replay] PRIMARY KEY CLUSTERED ([replay_id] asc)
    );
END
GO
